package com.mt.roll.wms.vo;


import com.mt.roll.core.vo.CommonVo;
import com.mt.roll.core.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@ApiModel(value = "报废信息类型", description = "用于查询报废信息类型信息")
public class ScrapTypeInformationVo extends CommonVo implements PageVo.ConvertVo {
    /**
     * 主键，自增
     */
    @ApiModelProperty(value = "主键", required = true, example = "1")
    @NotNull(message = "ID不能为空")
    private Long id;

    /**
     * 报废类型
     */
    @ApiModelProperty(value = "报废类型", example = "scrapType")
    private String scrapType;

    /**
     * 报废类型编码
     */
    @ApiModelProperty(value = "报废类型编码", example = "code")
    private String code;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", example = "description")
    private String description;
}
